.class Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;
.super Ljava/lang/Object;
.source "ImageSwitcherActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/ImageSwitcherActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    .line 3193
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;)Lcom/netease/newsreader/activity/ImageSwitcherActivity;
    .locals 1
    .parameter

    .prologue
    .line 3193
    iget-object v0, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 6
    .parameter "v"

    .prologue
    const/4 v5, 0x1

    const/16 v3, 0x8

    const/4 v4, 0x0

    .line 3197
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    iget-object v2, v2, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->menuWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v2}, Landroid/widget/PopupWindow;->dismiss()V

    .line 3198
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2, v4}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$80(Lcom/netease/newsreader/activity/ImageSwitcherActivity;Z)V

    .line 3199
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2, v5}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$81(Lcom/netease/newsreader/activity/ImageSwitcherActivity;Z)V

    .line 3200
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$82(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Z

    move-result v2

    if-eqz v2, :cond_2

    .line 3201
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$48(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/ProgressBar;

    move-result-object v2

    invoke-virtual {v2, v4}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 3202
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$50(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/ImageView;

    move-result-object v2

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 3203
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$49(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/LinearLayout;

    move-result-object v2

    invoke-virtual {v2, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 3204
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$83(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Z

    move-result v2

    if-nez v2, :cond_1

    .line 3205
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$58(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/ListView;

    move-result-object v2

    iget-object v3, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v3}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$63(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/LinearLayout;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/ListView;->removeFooterView(Landroid/view/View;)Z

    .line 3206
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$58(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/ListView;

    move-result-object v2

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 3207
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2, v5}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$60(Lcom/netease/newsreader/activity/ImageSwitcherActivity;Z)V

    .line 3208
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$9(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Ljava/lang/String;

    move-result-object v0

    .line 3209
    .local v0, board:Ljava/lang/String;
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$8(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Ljava/lang/String;

    move-result-object v1

    .line 3210
    .local v1, id:Ljava/lang/String;
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2, v4}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$66(Lcom/netease/newsreader/activity/ImageSwitcherActivity;I)V

    .line 3211
    new-instance v2, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12$1;

    invoke-direct {v2, p0, v0, v1}, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12$1;-><init>(Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;Ljava/lang/String;Ljava/lang/String;)V

    .line 3233
    invoke-virtual {v2}, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12$1;->start()V

    .line 3249
    .end local v0           #board:Ljava/lang/String;
    .end local v1           #id:Ljava/lang/String;
    :cond_0
    :goto_0
    return-void

    .line 3235
    :cond_1
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$83(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Z

    move-result v2

    if-nez v2, :cond_0

    .line 3236
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$48(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/ProgressBar;

    move-result-object v2

    invoke-virtual {v2, v3}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 3237
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$50(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/ImageView;

    move-result-object v2

    invoke-virtual {v2, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 3238
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$49(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/LinearLayout;

    move-result-object v2

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0

    .line 3243
    :cond_2
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    iget-object v2, v2, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->photolist:Ljava/util/List;

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    iget-object v2, v2, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->photolist:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_0

    .line 3244
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    iput v4, v2, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->g_position:I

    .line 3246
    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$12;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$30(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Lcom/netease/newsreader/view/NewsImageViewer;

    move-result-object v2

    invoke-virtual {v2}, Lcom/netease/newsreader/view/NewsImageViewer;->refreshCurrent()V

    goto :goto_0
.end method
